<div ng-controller="MemberlevelCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'会员等级'|translate}}</li>
        <li class="active">
            {{"List"|translate}}
            <a href="#/memberlevel/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'会员等级编号'|translate}}</th>
                <!-- <th>{{'公司编号'|translate}}</th> -->
                <th>{{'等级值'|translate}}</th>
                <th>{{'等级名称'|translate}}</th>
                <th>{{'所需积分'|translate}}</th>
                <th>{{'是否有效'|translate}}</th>
                <th>{{'操作'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="(k ,list) in member_levels">
                <td>
                    {{list.member_level_id}}
                </td>
                <!-- <td>{{list.partner_id}}</td> -->
                <td>{{list.value}}</td>
                <td>{{list.name}}</td>
                <td>{{list.require_exp}}</td>
                <td>{{list.enabled?"有效":"无效"}}</td>
                <td>
                    <a href="#/memberlevel/add?member_level_id={{list.member_level_id}}" id="addNew" class="sui-btn btn-primary">{{'编辑' | translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getlist(pageNo)"></pager>
    <!-- 分页end -->
</div>